﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DAL;
namespace HomeStayWebCP.Models
{
    public class WishlistModel
    {
        WishlistsDataModel model = new WishlistsDataModel();
        public bool CheckPostIsAddedToWishlist(string username, int postID)
        {
            bool result = false;
            result = model.CheckPostIsAddedToWishlist(username, postID);
            return result;
        }

        #region Hoangdx Code Wishlist
        public bool AddWistList(int postID, string username)
        {
            model.AddWistList(postID, username);
            return true;
        }
        #endregion
    }
}